const {redisDB} = require('./redisHelper')

// redisDB.set('test', '123', 20)
const getVal = async (key)=> {
    let v = await redisDB.getVal(key)
    console.log('v = ',v)
    return v
}

getVal('user-666').then((res)=>console.log('res = ',res))
// const b = getVal('user-666')
// console.log('b = ',b)